﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace AuthApi.Contracts
{
    [Serializable]
    [DataContract]
    public class RoleIncluded
    {
        public RoleIncluded()
        {
            Operations = new List<OperationIncluded>();
        }

        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public int ApplicationId { get; set; }

        [DataMember]
        public string Name { get; set; } 

        [DataMember]
        public bool IsIncluded { get; set; }

        [DataMember]
        public List<OperationIncluded> Operations { get; set; }
    }
}
